package com.example.demo.entity;

import java.io.Serializable;

/**
 * @author LiYuhang
 * @version 0.1
 * @application
 * @Copyright 上海危网信息科技有限公司版权所有
 * @company wwsoft
 * @Date 2020/4/21 10:30
 */
public class OrderDto implements Serializable {
    private static final long serialVersionUID = 4671907044518178764L;

    private Long id;

    /**
     * 订单类型 1 普通 2，团购 3 促销
     */
    private Integer type;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "OrderDto{" +
                "id=" + id +
                ", type=" + type +
                '}';
    }
}
